<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>Deploy Main</title>
		<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">
		<link rel="stylesheet" type="text/css" href="easyui/demo/demo.css">

		<link href="css/bootstrap.min.css" rel="stylesheet">
		<link href="css/plugins/morris.css" rel="stylesheet">
		<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>

	</head>

	<body>
		<style type="text/css">
			.panel-body {
				padding: 0px;
			}
		</style>
		<div>
			<div>
				<form class="form-horizontal">
					<div class="form-group">
						<label for="inputEmail3" class="col-sm-2 control-label">项目名：</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" id="tx_dep_name" value="tongyizhifu"  />
						</div>
					</div>
					<div class="form-group">
						<label for="inputPassword3" class="col-sm-2 control-label">描述：</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" id="tx_dep_desc" value="xxxxxxxdffdffdf" />
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<button type="submit" class="btn btn-default" id="bt_edit">edit</button>
							<button type="submit" class="btn btn-default" id="bt_save">save</button>
							<button type="submit" class="btn btn-default" id="bt_cancle">cancle</button>
						</div>
					</div>
				</form>

			</div>
				


		</div>

		<script>
			$("#p_dep_add").hide();

			function dep_ops(value, row, index) {
				console.log(value);
				var ops = '<a href="javascript:;"  class="btn" onclick="dep_ops_del(' + value + ')"><i class="fa fa-trash"></i></a>'
				console.log(ops);
				return ops;
			}

			function dep_ops_del(id) {
				alert("del " + id);
			}
			
			console.log("-----------");
		</script>
		
		<script>
		
		$(document).ready(function(){
			
			$("#bt_edit").click(function(){
						$('#tx_dep_name').removeAttr('disabled');
						console.log("remolvel");
			});
			
			console.log("-----ccccccccc------");
					
			
		});	
			</script>

	</body>

</html>